Optimal. Leaf size=606 \[ \frac {2 (A b-a B) d \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{(b c-a d) (b e-a f) (b g-a h) \sqrt {c+d x}}-\frac {2 b (A b-a B) \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{(b c-a d) (b e-a f) (b g-a h) \sqrt {a+b x}}-\frac {2 (A b-a B) \sqrt {d g-c h} \sqrt {f g-e h} \sqrt {a+b x} \sqrt {-\frac {(d e-c f) (g+h x)}{(f g-e h) (c+d x)}} E\left (\sin ^{-1}\left (\frac {\sqrt {d g-c h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {c+d x}}\right )|\frac {(b c-a d) (f g-e h)}{(b e-a f) (d g-c h)}\right )}{(b c-a d) (b e-a f) (b g-a h) \sqrt {\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}} \sqrt {g+h x}}+\frac {2 (B c-A d) \sqrt {\frac {(b e-a f) (c+d x)}{(d e-c f) (a+b x)}} \sqrt {g+h x} F\left (\sin ^{-1}\left (\frac {\sqrt {b g-a h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {a+b x}}\right )|-\frac {(b c-a d) (f g-e h)}{(d e-c f) (b g-a h)}\right )}{(b c-a d) \sqrt {b g-a h} \sqrt {f g-e h} \sqrt {c+d x} \sqrt {-\frac {(b e-a f) (g+h x)}{(f g-e h) (a+b x)}}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.63, antiderivative size = 606, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 7, integrand size = 42, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {1613, 1616, 12,
176, 430, 182, 435} \begin {gather*} \frac {2 \sqrt {g+h x} (B c-A d) \sqrt {\frac {(c+d x) (b e-a f)}{(a+b x) (d e-c f)}} F\left (\text {ArcSin}\left (\frac {\sqrt {b g-a h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {a+b x}}\right )|-\frac {(b c-a d) (f g-e h)}{(d e-c f) (b g-a h)}\right )}{\sqrt {c+d x} (b c-a d) \sqrt {b g-a h} \sqrt {f g-e h} \sqrt {-\frac {(g+h x) (b e-a f)}{(a+b x) (f g-e h)}}}-\frac {2 \sqrt {a+b x} (A b-a B) \sqrt {d g-c h} \sqrt {f g-e h} \sqrt {-\frac {(g+h x) (d e-c f)}{(c+d x) (f g-e h)}} E\left (\text {ArcSin}\left (\frac {\sqrt {d g-c h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {c+d x}}\right )|\frac {(b c-a d) (f g-e h)}{(b e-a f) (d g-c h)}\right )}{\sqrt {g+h x} (b c-a d) (b e-a f) (b g-a h) \sqrt {\frac {(a+b x) (d e-c f)}{(c+d x) (b e-a f)}}}-\frac {2 b \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x} (A b-a B)}{\sqrt {a+b x} (b c-a d) (b e-a f) (b g-a h)}+\frac {2 d \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x} (A b-a B)}{\sqrt {c+d x} (b c-a d) (b e-a f) (b g-a h)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 176
Rule 182
Rule 430
Rule 435
Rule 1613
Rule 1616
Rubi steps
\begin {align*} \int \frac {A+B x}{(a+b x)^{3/2} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx &=-\frac {2 b (A b-a B) \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{(b c-a d) (b e-a f) (b g-a h) \sqrt {a+b x}}+\frac {\int \frac {b^2 B c e g-a^2 A d f h-a b (B (d e g+c f g+c e h)-A (d f g+d e h+c f h))+(A b-a B) (a d f h+b (d f g+d e h+c f h)) x+2 b (A b-a B) d f h x^2}{\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx}{(b c-a d) (b e-a f) (b g-a h)}\\ &=\frac {2 (A b-a B) d \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{(b c-a d) (b e-a f) (b g-a h) \sqrt {c+d x}}-\frac {2 b (A b-a B) \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{(b c-a d) (b e-a f) (b g-a h) \sqrt {a+b x}}+\frac {\int \frac {2 b d (B c-A d) f (b e-a f) h (b g-a h)}{\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx}{2 b d (b c-a d) f (b e-a f) h (b g-a h)}+\frac {((A b-a B) (d e-c f) (d g-c h)) \int \frac {\sqrt {a+b x}}{(c+d x)^{3/2} \sqrt {e+f x} \sqrt {g+h x}} \, dx}{(b c-a d) (b e-a f) (b g-a h)}\\ &=\frac {2 (A b-a B) d \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{(b c-a d) (b e-a f) (b g-a h) \sqrt {c+d x}}-\frac {2 b (A b-a B) \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{(b c-a d) (b e-a f) (b g-a h) \sqrt {a+b x}}+\frac {(B c-A d) \int \frac {1}{\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx}{b c-a d}-\frac {\left (2 (A b-a B) (d g-c h) \sqrt {a+b x} \sqrt {-\frac {(d e-c f) (g+h x)}{(f g-e h) (c+d x)}}\right ) \text {Subst}\left (\int \frac {\sqrt {1+\frac {(-b c+a d) x^2}{b e-a f}}}{\sqrt {1-\frac {(d g-c h) x^2}{f g-e h}}} \, dx,x,\frac {\sqrt {e+f x}}{\sqrt {c+d x}}\right )}{(b c-a d) (b e-a f) (b g-a h) \sqrt {\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}} \sqrt {g+h x}}\\ &=\frac {2 (A b-a B) d \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{(b c-a d) (b e-a f) (b g-a h) \sqrt {c+d x}}-\frac {2 b (A b-a B) \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{(b c-a d) (b e-a f) (b g-a h) \sqrt {a+b x}}-\frac {2 (A b-a B) \sqrt {d g-c h} \sqrt {f g-e h} \sqrt {a+b x} \sqrt {-\frac {(d e-c f) (g+h x)}{(f g-e h) (c+d x)}} E\left (\sin ^{-1}\left (\frac {\sqrt {d g-c h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {c+d x}}\right )|\frac {(b c-a d) (f g-e h)}{(b e-a f) (d g-c h)}\right )}{(b c-a d) (b e-a f) (b g-a h) \sqrt {\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}} \sqrt {g+h x}}+\frac {\left (2 (B c-A d) \sqrt {\frac {(b e-a f) (c+d x)}{(d e-c f) (a+b x)}} \sqrt {g+h x}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1+\frac {(b c-a d) x^2}{d e-c f}} \sqrt {1-\frac {(b g-a h) x^2}{f g-e h}}} \, dx,x,\frac {\sqrt {e+f x}}{\sqrt {a+b x}}\right )}{(b c-a d) (f g-e h) \sqrt {c+d x} \sqrt {-\frac {(b e-a f) (g+h x)}{(f g-e h) (a+b x)}}}\\ &=\frac {2 (A b-a B) d \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{(b c-a d) (b e-a f) (b g-a h) \sqrt {c+d x}}-\frac {2 b (A b-a B) \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{(b c-a d) (b e-a f) (b g-a h) \sqrt {a+b x}}-\frac {2 (A b-a B) \sqrt {d g-c h} \sqrt {f g-e h} \sqrt {a+b x} \sqrt {-\frac {(d e-c f) (g+h x)}{(f g-e h) (c+d x)}} E\left (\sin ^{-1}\left (\frac {\sqrt {d g-c h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {c+d x}}\right )|\frac {(b c-a d) (f g-e h)}{(b e-a f) (d g-c h)}\right )}{(b c-a d) (b e-a f) (b g-a h) \sqrt {\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}} \sqrt {g+h x}}+\frac {2 (B c-A d) \sqrt {\frac {(b e-a f) (c+d x)}{(d e-c f) (a+b x)}} \sqrt {g+h x} F\left (\sin ^{-1}\left (\frac {\sqrt {b g-a h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {a+b x}}\right )|-\frac {(b c-a d) (f g-e h)}{(d e-c f) (b g-a h)}\right )}{(b c-a d) \sqrt {b g-a h} \sqrt {f g-e h} \sqrt {c+d x} \sqrt {-\frac {(b e-a f) (g+h x)}{(f g-e h) (a+b x)}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 26.14, size = 333, normalized size = 0.55 \begin {gather*} \frac {2 (b e-a f) \sqrt {\frac {(b g-a h) (c+d x)}{(d g-c h) (a+b x)}} (e+f x)^{3/2} (g+h x)^{3/2} \left ((A b-a B) (d g-c h) E\left (\sin ^{-1}\left (\sqrt {\frac {(-b e+a f) (g+h x)}{(f g-e h) (a+b x)}}\right )|\frac {(b c-a d) (f g-e h)}{(b e-a f) (d g-c h)}\right )+(B c-A d) (b g-a h) F\left (\sin ^{-1}\left (\sqrt {\frac {(-b e+a f) (g+h x)}{(f g-e h) (a+b x)}}\right )|\frac {(b c-a d) (f g-e h)}{(b e-a f) (d g-c h)}\right )\right )}{(b c-a d) (f g-e h)^3 (a+b x)^{5/2} \sqrt {c+d x} \left (-\frac {(b e-a f) (b g-a h) (e+f x) (g+h x)}{(f g-e h)^2 (a+b x)^2}\right )^{3/2}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(18723\) vs.
\(2(552)=1104\).
time = 0.14, size = 18724, normalized size = 30.90
method | result | size |
elliptic | \(\text {Expression too large to display}\) | \(2250\) |
default | \(\text {Expression too large to display}\) | \(18724\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {A + B x}{\left (a + b x\right )^{\frac {3}{2}} \sqrt {c + d x} \sqrt {e + f x} \sqrt {g + h x}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {A+B\,x}{\sqrt {e+f\,x}\,\sqrt {g+h\,x}\,{\left (a+b\,x\right )}^{3/2}\,\sqrt {c+d\,x}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________